﻿using System;

namespace UniRx.InternalUtil
{
	// Token: 0x02000213 RID: 531
	public class DisposedObserver<T> : IObserver<T>
	{
		// Token: 0x06000C87 RID: 3207 RVA: 0x0003D819 File Offset: 0x0003BC19
		private DisposedObserver()
		{
		}

		// Token: 0x06000C88 RID: 3208 RVA: 0x0003D821 File Offset: 0x0003BC21
		public void OnCompleted()
		{
			throw new ObjectDisposedException(string.Empty);
		}

		// Token: 0x06000C89 RID: 3209 RVA: 0x0003D82D File Offset: 0x0003BC2D
		public void OnError(Exception error)
		{
			throw new ObjectDisposedException(string.Empty);
		}

		// Token: 0x06000C8A RID: 3210 RVA: 0x0003D839 File Offset: 0x0003BC39
		public void OnNext(T value)
		{
			throw new ObjectDisposedException(string.Empty);
		}

		// Token: 0x04000726 RID: 1830
		public static readonly DisposedObserver<T> Instance = new DisposedObserver<T>();
	}
}
